package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfMemberAddressDao;
import com.wfcm.entity.WfMemberAddressEntity;
import com.wfcm.service.WfMemberAddressService;



@Service("wfMemberAddressService")
public class WfMemberAddressServiceImpl implements WfMemberAddressService {
	@Autowired
	private WfMemberAddressDao wfMemberAddressDao;
	
	@Override
	public WfMemberAddressEntity queryObject(Integer id){
		return wfMemberAddressDao.queryObject(id);
	}
	
	@Override
	public List<WfMemberAddressEntity> queryList(Map<String, Object> map){
		return wfMemberAddressDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfMemberAddressDao.queryTotal(map);
	}
	
	@Override
	public void save(WfMemberAddressEntity wfMemberAddress){
		wfMemberAddressDao.save(wfMemberAddress);
	}
	
	@Override
	public void update(WfMemberAddressEntity wfMemberAddress){
		wfMemberAddressDao.update(wfMemberAddress);
	}
	
	@Override
	public void delete(Integer id){
		wfMemberAddressDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfMemberAddressDao.deleteBatch(ids);
	}
	
}
